package com.song.studylineserver.service;

import com.song.studylineserver.domain.Title;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Set;

/**
* @author Swtao
* @description 针对表【sl_title】的数据库操作Service
* @createDate 2022-02-10 22:27:20
*/
public interface TitleService extends IService<Title> {
    /**
     * 根据文章类型获取文章
     * @param Studytype
     * @return
     */
    List<Title> selectTitleByType(String Studytype);


    Title selectTitleById(Integer id);

    Set<Title> selectTitleByUser(String UserId);
}
